<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
    <meta name="viewport"
      content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <title>优点达资讯-分享那些新鲜事</title>
    <link rel='stylesheet' href='static/css/style.css' type='text/css' media='all' />
    <link rel="stylesheet" href="./static/fonts/css/font-awesome.min.css">
    <!-- <script type='text/javascript' src='static/js/jquery.js'></script> -->
   <link rel="stylesheet" href="./static/css/shw/index.css">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <!--[if lt IE 9]><script src="static/js/html5.js"></script><![endif]-->
    <link rel="stylesheet" href="./static/lib/layui-v2.7.4/layui/css/layui.css">
  </head>
  <body class="home blog search_not m-home-most ui-navtop">
    <div class="shw">
    <!-- 头部开始 -->
    <header class="header">
      <div class="container">
        <h1 class="logo">
          <a href="index.html" title="优点达资讯-分享那些新鲜事">
            <img src="static/images/logo.png" alt="优点达资讯">优点达资讯
          </a>
         </h1>
        <ul class="nav" style="display:flex;justify-content: space-between;width: 67%;;">
          <li class="navmore"></li>
          <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item current_page_item">
            <a title="" href="index.html"><span class="fa fa-home"></span>趣·首页</a>
          </li>
          <li  class="menu-item menu-item-type-taxonomy menu-item-object-category" v-for="obj in allCate.slice(0,10)" :key="obj.id"><a style="padding:12px 0 ;" :href="'list.html?catename='+obj.catename+'&cateid='+obj.id"><span
                class="fa" :class="obj.icon"></span>{{obj.catename}}</a></li>
        </ul>
        <div class="slinks">
          <a href="login.html" v-show="token===null">
            <i class="fa fa-hand-o-right"></i>
            &nbsp;登录
          </a>
          |
          <a href="reg.html" v-show="token===null">
            <i class="fa fa-registered"></i>
            &nbsp;注册
          </a>
          <a href="user.html" v-show="token!=null">
            <i class="fa fa-user"></i>
            &nbsp;欢迎，{{user!=null?user.userInfo.username:''}}
          </a>
          <a class="fa fa-sign-out" v-show="token!=null" @click="rem"></a>
        </div>
        <!-- 移动端兼容 -->
         <a href="login.html" class="user"><i class="fa fa-user"></i></a>
         <!-- 点击该图标的时候判断是否登录了，决定是否进入用户中心，否则进入登录页 -->
      </div>
    </header>
    <!-- 头部结束 -->
    
    <!-- 主体内容开始 -->
    <section class="container">
      <!-- 左侧开始 -->
      <div class="content-wrap">
        <div class="content">
          <!-- 轮播开始 -->
         
       
          <div class="layui-carousel" id="test2">
            <div carousel-item>
              <div class="btxt" v-for="obj in banner" :key="obj.id">
                <div class="focusmo">
                  <ul>
                    <li class="large">
                      <a target="_blank" :href="obj.advimglink">
                        <img class="thumb" :src="'http://124.223.14.236:8060/'+obj.advimgsrc">
                        <h4>阿里云-开学季礼包</h4>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
      
         

          <!-- 轮播结束 -->
          
          <!-- 热门推荐开始 -->
          <div class="sticky">
            <h3 class="title"><strong>热门推荐</strong></h3>
            <ul>
              <li class="item" v-for="obj in newlist" :key="obj.id">
                <a target="_blank" href="">
                  <img :src="'http://124.223.14.236:8060/'+ obj.pic" class="thumb" />{{obj.title}}
                </a>
              </li>
            </ul>
          </div>
          <!-- 热门推荐结束 -->
          
          <!-- 最新更新开始 -->
          <h3 class="title">
            <small class="pull-right">24小时更新：{{newIndex.some.num_day}}篇 &nbsp; &nbsp; 一周更新：{{newIndex.some.num_week}}篇</small><strong>最近更新</strong>
          </h3>
          
          <article class="excerpt excerpt-one" v-for="obj in newIndex.some.list.data" :key="obj.id">
            <header>
              <a class="cat label label-important" href="">{{obj.ishot===1?'热门':'置顶'}}<i class="label-arrow"></i></a>
              <h2>
                <a target="_blank" :href="'show.html?id='+obj.id"  :title="obj.title">{{obj.title}}</a>
              </h2>
            </header>
            <p class="text-muted time">
              <a href="">{{obj.author}}</a> 发布于 {{obj.create_date | www}}
            </p>
            <p class="focus">
              <a target="_blank" href="http://blog.weknow.cn/474.shtml" class="thumbnail">
                <span  class="item"><span class="thumb-span"><img  :src="'http://124.223.14.236:8060/'+obj.pic"  class="thumb" /></span></span></a>
              </p>
            <p class="note">{{obj.description}}</p>
            <p class="text-muted views">
              <span class="post-views">阅读({{obj.click}})</span>
              <span class="post-comments">评论(0)</span>
              <a href="javascript:;" class="post-like">
                <i class="fa fa-thumbs-up"></i>赞 (<span>{{obj.lovenum}}</span>)
              </a>
              <!-- <span class="post-tags">标签：
                <a href=""  rel="tag">1核 2G 1M宽带 40G SSD硬盘</a> / 
                <a href=""  rel="tag">阿里云</a></span>
             </p> -->
          </article>
        
          <!-- 最新更新结束 -->
          
          <!-- 分页开始 -->
          <!-- <div class="pagination pagination-multi">
            <ul>
              <li class="prev-page"></li>
              <li class="active"><span>1</span></li>
              <li><a href='javascript:;'>2</a></li>
              <li><a href='javascript:;'>3</a></li>
              <li class="next-page"><a href="">下一页</a></li>
              <li><a href=''>尾页</a></li>
              <li><span>共 3 页</span></li>
            </ul>
          </div> -->
          <div id="test1" @click="fy"></div>
          <!-- 分页结束 -->
        </div>
      </div>
      <!-- 左侧结束 -->
      
      <!-- 右侧开始 -->
      <div class="sidebar">
        <!-- 右侧广告位开始 -->
        <div class="widget widget_text">
          <div class="textwidget">
            <a :href="obj.advimglink" rel="nofollow" target="_blank" title="阿里云开学季" v-for="obj in sideBanner" :key="obj.id">
              <img class="g430" style="width:360px;height:133px;" :src="'http://124.223.14.236:8060/'+obj.advimgsrc" :alt="obj.advimgdesc" >
            </a>
           
          </div>
        </div>
        <!-- 右侧广告位结束 -->
        <!-- 通知公告开始 -->
        <div class="widget widget_textssr"><a class="style02" href="http://www.thefox.cn/alibaixiu.shtml"
            target="_blank"><strong>通知公告</strong>
            <h2>感谢广大好友</h2>
            <p>谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢</p>
          </a></div>
        <!-- 通知公告结束 -->  
        <!-- 热门文章开始 -->
        <div class="widget widget_postlist">
          <h3 class="title"><strong>热门文章</strong></h3>
          <ul class="items-02">
            <li v-for="obj in list" :key="obj.id">
              <a target="_blank" href="">
                <span class="thumbnail">
                  <img :src="'http://124.223.14.236:8060/'+obj.pic" class="thumb" />
                </span>
                <span class="text">{{obj.title}}</span>
                <span class="text-muted post-views">阅读(16398)</span>
              </a>
            </li>
            
          </ul>
        </div>
        <!-- 热门文章结束 -->
        <!-- 热门标签开始 -->
        <div class="widget widget_tags">
          <h3 class="title"><strong>热门标签</strong></h3>
          <ul class="widget_tags_inner">
            <li v-for="obj in allTag" :key="obj.id"><a title="" href="">{{obj.tagname}}</a></li>        
          </ul>
        </div>
        <!-- 热门标签结束 -->
        <!-- 最新推荐开始 -->
        <div class="widget widget_postlist">
          <h3 class="title"><strong>最新推荐</strong></h3>
          <ul class="items-01">
            <li>
              <a target="_blank" href="">
                <span class="thumbnail">
                    <img class="thumb"  src="./static/images/default.png" />
                </span>
                <span class="text">阿里云拼团推荐服务器1核2GSSD硬盘40G只要一年99元/三年279元</span>
                <span  class="text-muted post-views">阅读(826)</span>
              </a>
            </li>
            
        </div>
        <!-- 最新推荐结束 -->
        <!-- 友情链接开始 -->
        <div class="widget widget_comments">
          <h3 class="title"><strong>友情链接</strong></h3>
          <ul>
            <li v-for="obj in allLink" :key="obj.id">
              <a :href="obj.url"><img :src="'http://124.223.14.236:8060/'+obj.img" alt=""><p>{{obj.des}}</p></a>
            </li>          
          </ul>
        </div>
        <!-- 友情链接结束 -->
      </div>
     
      <!-- 右侧结束 -->
    </section>
    <!-- 主体内容结束 -->
    
    <!-- 页脚开始 -->
    <footer class="footer">
      <div class="link">
        <!-- 友情链接： -->
        <span v-for="obj in allLink" :key="obj.id">
        <a :href="obj.url" :title="obj.title">{{obj.des}}</a> 
        <span>|</span> 
      </span>
      </div>
      <p>&copy; 2021 <a href="http://blog.weknow.cn">优点达资讯,</a>
       &nbsp;&nbsp;联系邮箱：xxxx@163.com  
       &nbsp;&nbsp; <a href="">备案号信息</a>
      </p>
    </footer>
  </div>
</div>


    <!-- 页脚结束 -->


<script src="./static/lib/layui-v2.7.4/layui/layui.js"></script>
<script src="./static/js/shw_js/axios.js"></script>
<script src="./static/js/shw_js/api.js"></script>
<script src="./static/js/shw_js/vue.js"></script>
<script src="./static/js/shw_js/index.js"></script>


  </body>
</html>
